refraction of light at curved surfaces